import Layout from "../layout/index.vue";
import { PERMISSION_KEY } from "@/constants/common";
const aboutUsManageRoutes = [
    {
        path: "/aboutUs",
        component: Layout,
        redirect: "/aboutUs/index",
        meta: {
            title: "关于我们",
            icon: "Calculator",
            onlyOneChild: true,
            hidden: false,
            permissionKey: PERMISSION_KEY[2].key,
        },
        children: [
            {
                path: "index",
                component: () => import("../pages/aboutUsManage/index.vue"),
                name: "aboutUs",
                meta: {
                    hidden: true,
                    title: "关于我们",
                    permissionKey: PERMISSION_KEY[2].key,
                },
            },
            {
                path: "detail/:id",
                name: "aboutUsDetail",
                component: () => import("../pages/aboutUsManage/detail.vue"),
                meta: {
                    hidden: true,
                    title: "关于我们详情",
                    activeMenu: "/aboutUs/index",
                },
            },
        ],
    },
];
export default aboutUsManageRoutes;
